﻿<Page x:Class="SdbS.View_Start.Pages.StartPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:SdbS.View_Start.Pages"
      xmlns:n="clr-namespace:SdbS.CustomControls"
      mc:Ignorable="d" 
      d:DesignHeight="320" 
      d:DesignWidth="260">

    <Grid Background="White">


        <!--Панель (обертка) с двумя кнопками-->
        <WrapPanel Grid.Row="0"
                   Width="150"
                   VerticalAlignment="Center"
                   HorizontalAlignment="Left"
                   Margin="20 0 0 0"
                   ButtonBase.Click="WrapPanel_Click">

            <n:NavButton Text="Вход"
                         Margin="20 0 0 30"
                         FontSize="15"
                         Width="100"
                         ImageSource="/Images/Landing/login.png"
                         NavUri="/View_Start/Pages/Authorization.xaml"/>

            <n:NavButton Text="Регистрация"
                         FontSize="15"
                         Width="100"
                         Margin="23 0 0 0"
                         ImageSource="/Images/Landing/regis.png"
                         NavUri="/View_Start/Pages/Registration.xaml"/>
        </WrapPanel>

        <Image Source="/Images/MainMenu/logo.png"
               Width="60"
               Height="60"
               VerticalAlignment="Bottom"
               HorizontalAlignment="Right"
               Margin="10"/>

    </Grid>

</Page>
